package cn.minsh.lims.eoms.modules.app.service;

import cn.minsh.lims.eoms.modules.app.controller.req.MaintenancePlanListReq;
import cn.minsh.lims.eoms.modules.app.controller.req.MaintenancePlanReq;
import cn.minsh.lims.eoms.modules.app.controller.res.MaintenancePlanListRes;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.minsh.lims.eoms.common.utils.PageUtils;
import cn.minsh.lims.eoms.modules.app.entity.MaintenancePlanEntity;

import java.util.Map;

/**
 * 保养计划
 *
 * @author lht
 * @email sunlightcs@gmail.com
 * @date 2021-04-29 18:54:57
 */
public interface MaintenancePlanService extends IService<MaintenancePlanEntity> {

    PageUtils queryPage(Map<String, Object> params,Long userId);

    void savePlan(MaintenancePlanReq req,Long userId);

    void updatePlanById(MaintenancePlanReq req,Long userId);

    PageUtils queryListPage(MaintenancePlanListReq req,Long userId);

    MaintenancePlanListRes queryPlanById(Long id,Long userId);
}

